package com.remrbs.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.remrbs.domain.Log;
import com.remrbs.mapper.LogMapper;
@Service
public class LogService{

    @Resource
    private LogMapper logMapper;

    
    public int deleteByPrimaryKey(Integer id) {
        return logMapper.deleteByPrimaryKey(id);
    }

    
    public int insert(Log record) {
        return logMapper.insert(record);
    }

    
    public int insertSelective(Log record) {
        return logMapper.insertSelective(record);
    }

    
    public Log selectByPrimaryKey(Integer id) {
        return logMapper.selectByPrimaryKey(id);
    }

    
    public int updateByPrimaryKeySelective(Log record) {
        return logMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(Log record) {
        return logMapper.updateByPrimaryKey(record);
    }

    
    public int updateBatch(List<Log> list) {
        return logMapper.updateBatch(list);
    }

}
